//
//  RegisterViewController.m
//  LiveEducation
//
//  Created by Liu,Qingcan on 2017/4/13.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import "RegistersViewController.h"

/*需要关闭ATS*/
static NSString *registerUrl = @"http://19.offcn.com/foreuser/register/";
//http://zhibo.offcn.com/occchat?cid=30404&map=10_1991_2_190381

@interface RegistersViewController ()


@property (nonatomic,strong) WKWebView *myWkView;



@end

@implementation RegistersViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    [self.view addSubview:self.myWkView];
}

#pragma mark delegate

//- (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(WKNavigation *)navigation{
//    
//}

- (WKWebView *)myWkView{
    if (!_myWkView) {
        _myWkView = [[WKWebView alloc]initWithFrame:self.view.bounds];
        _myWkView.backgroundColor = [UIColor whiteColor];
        [_myWkView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:registerUrl]]];
    }
    return _myWkView;
}

@end
